package com.cavy.platform.server.domain;

import lombok.Getter;

/**
 * 宿主机状态
 * [启用,禁用]
 */
@Getter
public enum AgentStatus {
    ENABLE("启用"), DISABLE("禁用");

    private String label;

    AgentStatus(String label) {
        this.label = label;
    }

    public boolean isDisable() {
        return this.equals(DISABLE);
    }
}
